package com.boarsoft.boar.gateway.web.soagov;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

import com.boarsoft.soagov.config.BwConfig;
import com.boarsoft.soagov.config.SlaConfig;
import com.boarsoft.soagov.spy.SimpleSvcSpyImpl;
import com.boarsoft.soagov.spy.SpyData;
import com.boarsoft.webapp.mock.HttpMocker;

public class SimpleHttpSvcSpyImpl extends SimpleSvcSpyImpl {
	/** */
	protected Map<String, HttpMocker> mockerMap = new ConcurrentHashMap<String, HttpMocker>();

	@Override
	public int check(Object input) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int checkStatus(SpyData data) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public boolean checkBwList(SpyData data, Object input) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean checkSla(SpyData data, Object input) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean up(String serviceKey) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean down(String serviceKey) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean mock(String serviceKey) {
		
		return false;
	}

	@Override
	public boolean mock(String serviceKey, String mockType, String mockJson) throws ClassNotFoundException {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean up() {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean down() {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean mock() {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean limit(String serviceKey, int tpsLimit) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean limit(String serviceKey, SlaConfig sc, int tpsLimit) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean limit(SpyData data, SlaConfig slaCfg, int tpsLimit) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean limit(SpyData data, int tpsLimit) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean unlimit(SpyData data, String slaCfgKey) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean unlimit(SpyData data) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public Object getData(String serviceKey) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Object getDataMap() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public SpyData getSpyData(String key) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public SpyData getGlobalSpyData() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Object getGlobalData() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void setResult(String serviceKey, Object result) {
		// TODO Auto-generated method stub

	}

	@Override
	public Object getResult(String serviceKey) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public boolean unlimit(String code) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean unlimit(String code, String key) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public Object mock(Object input) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public boolean setSlaConfigOn(String key, boolean b) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean setBwConfigOn(String key, boolean b) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean isSlaConfigOn(String key) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean isBwConfigOn(String key) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean isBwConfigOn() {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean isSlaConfigOn() {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean setBwConfigOn(boolean b) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean setSlaConfigOn(boolean b) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean limit(SlaConfig sc, int tpsLimit) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean limit(int tpsLimit) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean unlimit() {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean addBwConfig(String serviceKey, BwConfig bwCfg) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean delBwConfig(String serviceKey, BwConfig bwCfg) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean delSlaConfig(String serviceKey, String slaCfgKey) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public Object disableProvider(String addr, String code) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Object enableProvider(String addr, String key) {
		// TODO Auto-generated method stub
		return null;
	}

	public Map<String, HttpMocker> getMockerMap() {
		return mockerMap;
	}

	public void setMockerMap(Map<String, HttpMocker> mockerMap) {
		this.mockerMap = mockerMap;
	}
}